Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do Not Merge]Test close after proxy header #19883

Closed
wants to merge 1 commit into from

Conversation

soulxu
Copy link
Member

@soulxu soulxu commented Feb 9, 2022

Signed-off-by: He Jie Xu hejie.xu@intel.com

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: He Jie Xu <hejie.xu@intel.com>
@soulxu
Copy link
Member Author

soulxu commented Feb 9, 2022

/wait

@soulxu soulxu changed the title [Do Not Merge]Test close listener with proxy header [Do Not Merge]Test close after proxy header Feb 9, 2022
@@ -338,6 +338,12 @@ TEST_P(ProxyProtoFilterChainMatchIntegrationTest, MatchDirectSourceAndSource) {
testing::HasSubstr("directsource_localhost_and_source_1.2.3.0/24 -"));
}

TEST_P(ProxyProtoFilterChainMatchIntegrationTest, CloseAfterProxyProtocol) {
send("PROXY TCP4 1.2.3.4 254.254.254.254 12345 1234", true);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the end_stream flag to end the connection before sending the full proxy header. @ggreenway

@soulxu soulxu closed this Feb 10, 2022
@soulxu soulxu deleted the test_listener_with_close_data branch February 10, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant